<div>Дизайн</div><br>
<div>
<?php
$i=1;
foreach ($this->paginator as $design): ?>
	<table width=100%>
		<tr>
   			<td style="border: 2px solid #A3B1C9;"><?php echo $design->photo->getPhotoImg(0) ?></td>
   			<td valign=top style="border: 2px solid #A3B1C9;">
   				<?php echo $design->title ?><br>
				<a href = "<?php echo $this->url(array('designId' => $design->id),'design'); ?>">Просмотреть</a>
			</td>
			<td valign=top style="border: 2px solid #A3B1C9;">Опубликовано: <?php echo $design->bdate ?></td>
		</tr>
	</table>
	<br>
   <?php $i++; ?>
<?php endforeach; ?>
<?php echo $this->paginationControl($this->paginator,
                                    'Sliding',
                                    'search_paginator.tpl'); ?>
</div>
